﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Demo01
{
    class Program
    {
        static void Main(string[] args)
        {
            int [] arr = new int [5];
            for (int i = 0; i < arr.Length; i++)
            {
                Console.WriteLine("请输入第"+(i+1)+"个用户的信息:");
                user user = new user();
                Console.WriteLine("请输入用户账号:");
                int a = Convert.ToInt32(Console.ReadLine());
                user.userNumber = a ;
                Console.WriteLine("请输入用户名:");
                string b = Console.ReadLine();
                user.userName = b ;
                Console.WriteLine("请输入密码:");
                string c = Console.ReadLine();
                user.userPassword = c;
                user.User();
            }
            Console.ReadKey();
        }
    }
}
